package cn.xy.base.server.vo;

import cn.xy.base.server.po.SysRole;
import lombok.Data;
import org.springframework.beans.BeanUtils;

/**
* 表[sys_role]对应VO类
*
* @author auto
*
*/

@Data
public class SysRoleVO {

    private int id;

    private String roleName;

    private String key;

    public SysRoleVO(SysRole role) {
        if (role != null) {
            BeanUtils.copyProperties(role, this);
        }
    }
}
